package cn.cstech.aijia.ui.service;

import android.os.Bundle;
import android.view.View;

import cn.cstech.aijia.R;
import cn.cstech.aijia.ui.base.BaseActivity;
import cn.cstech.aijia.ui.base.views.MineMenuItem;

/**
 * Created by xi on 15/9/12.
 */
public class CompanyDetailActivity extends BaseActivity {


    private MineMenuItem menu_address;
    private MineMenuItem menu_tel;

    @Override
    protected void onCreate(Bundle arg0) {
        super.onCreate(arg0);
        setContentView(R.layout.ac_company_detail);

        menu_address = (MineMenuItem) findViewById(R.id.menu_address);
        menu_tel = (MineMenuItem) findViewById(R.id.menu_tel);


        menu_address.initItem(R.drawable.icon_my_service,"上海市松涛路696号",-1);
        menu_tel.initItem(R.drawable.icon_my_service,"18201753497",-1);


    }

    @Override
    protected void onTitleBarCreate() {
        super.onTitleBarCreate();
        setTitleText("同济装修公司");
        setLeftImageView(R.drawable.arrow_back, new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        setRightButton("我要装饰", new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
    }
}
